Carbon


GetWDInfo

Header: Files.h Carbon status: Unsupported

Gets information about a working directory.

OSErr GetWDInfo (
    SInt16 wdRefNum, 
    SInt16 *vRefNum, 
    SInt32 *dirID, 
    SInt32 *procID
);
wdRefNum

A working directory reference number.

vRefNum

If nonzero on input, a pointer to a volume reference number or drive number. On output, a pointer to the volume reference number of the working directory.

dirID

On output, a pointer to the directory ID of the specified working directory.

procID

A pointer to the working directory user identifier.

function result

A result code.

DISCUSSION

You can use GetWDInfo to convert a working directory reference number to its corresponding volume reference number and directory ID.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Working directories not supported. Use file system specification (FSSpec) records instead.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)